package com.ops.memcache.core;

import java.io.Serializable;

/**
 * lenovo
 * 2017/5/10
 * untitled
 */
public interface ICacheManager {
	String SYS_COLUMNS_CACHE = "SYS_COLUMNS_CACHE";
	String SYS_KEYS_CACHE = "SYS_KEYS_CACHE";
	String SYS_DBSRC_CACHE = "SYS_DBSRC_CACHE";

	String[] getCacheNames() throws Exception;

	ICache[] getCaches() throws Exception;

	void addCache(String var1) throws Exception;

	ICache getCache(String var1) throws Exception;

	void removeCache(String var1) throws Exception;

	ICacheElement getCacheElement(String var1, Serializable var2) throws Exception;

	void putCacheElement(String var1, Serializable var2, Serializable var3) throws Exception;

	void removeCacheElement(String var1, Serializable var2) throws Exception;

	int getStatus(String var1) throws Exception;

	void shutdown() throws Exception;
}
